package com.qianfeng.service;


import com.qianfeng.entity.Patient;
import com.qianfeng.entity.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;

/**
 * 用户相关接口
 * {@link com.qianfeng.service.impl.UserServiceImpl}
 * @author 李康
 */
public interface UserService {

    User findUser(String name) throws Exception;

    User findUser(int uid) throws Exception;

    int registered(User user) throws Exception;

    void updateInfo(User newUserInfo) throws Exception;

}
